package org.particlethink.exception;

public class StatusException extends RuntimeException {
    public StatusException(String message) {
        super(message);
    }

    public StatusException() {
    }

    @Override
    public String getMessage() {
        return super.getMessage() == null ? "当前状态不允许该操作" : super.getMessage();
    }
}
